package com.yurun.orgstudentmodule.mapper;

import com.yurun.commonapi.pojo.AloneClassSummaryPhase202111;
import com.yurun.commonapi.pojo.AloneClassSummaryPhase202111Key;
import com.yurun.commonapi.pojo.AloneClassSummaryPhase202111WithBLOBs;
import com.yurun.commonapi.pojo.StudentTrainingTable;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AloneClassSummaryPhase202111Mapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alone_class_summary_phase_2021_11
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(AloneClassSummaryPhase202111Key key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alone_class_summary_phase_2021_11
     *
     * @mbggenerated
     */
    int insert(AloneClassSummaryPhase202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alone_class_summary_phase_2021_11
     *
     * @mbggenerated
     */
    int insertSelective(AloneClassSummaryPhase202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alone_class_summary_phase_2021_11
     *
     * @mbggenerated
     */
    AloneClassSummaryPhase202111WithBLOBs selectByPrimaryKey(AloneClassSummaryPhase202111Key key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alone_class_summary_phase_2021_11
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(AloneClassSummaryPhase202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alone_class_summary_phase_2021_11
     *
     * @mbggenerated
     */
    int updateByPrimaryKeyWithBLOBs(AloneClassSummaryPhase202111WithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alone_class_summary_phase_2021_11
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(AloneClassSummaryPhase202111 record);

    List<AloneClassSummaryPhase202111> allStudentTrainingInfo(StudentTrainingTable studentTrainingTable);

    AloneClassSummaryPhase202111 getOneTrainingInfo(StudentTrainingTable studentTrainingTable);
}